package itcast.service;

import java.util.List;

import itcast.domain.CarBean;
import itcast.domain.PageBean;
import itcast.domain.ShopsBean;

public interface ShopsService {
    public List<ShopsBean> findallshops();
    public PageBean<ShopsBean> shopsByPage(String currentPage, String rows);
	public void addshop(String shopid, int uid, ShopsBean sBean);
	public ShopsBean findshopid(String shopid);
	public List<CarBean> findcarshop(String userid);
	public void updatecarshop(String shopid, int uid, int toal);
	public void delcarshop(String shopid);
	public void updateshopcount(String shopid, String shopcount);
	//查询购物车中对商品，要求商品id与用户id一致
	public List<CarBean> findcarsshops(String[] shopids, int i);

}
